import java.util.Scanner;
public class Book37_1{
	public static void main(String[] args){
		Scanner scanner = new Scanner(System.in);
		double a,b;
		System.out.printf("请输入华氏温度：");
		a = scanner.nextDouble();
		b= (5.0/9.0) * (a-32);
		System.out.println("摄氏温度= " + b);
	}
}